<div id="main">
    <h1><?php echo $this->translate('Welcome');?></h1>
    <form id="login" action="/session/new" method="post">
    <h2><?php echo strip_tags($this->headTitle()) ?></h2>
  <?php
    if ($this->error) {
      echo '<p class="error">Désolé, votre login/mot de passe est erroné. Veuillez réessayer svp.</p>';
    }
  ?>
  <p class="space">
    <label for="username"><?php echo $this->translate('Username'); ?>:</label>
    <input class="txt" id="username" name="username" title="Username" type="text" <?php if ($this->username) echo 'value="' . $this->escape($this->username) . '"'; ?> />
  </p>

  <p class="space">
    <label for="password"><?php echo $this->translate('Password'); ?>:</label>
    <input class="txt" id="password" name="password" title="Password" type="password" />
  </p>

  <?php echo $this->authenticationTokenInput() ?>

  <p class="center">
      <input class="button" id="sign_in" type="submit" value="<?php echo $this->translate('Sign in'); ?>"/>
  </p>
</form>
      <?php
      if ($this->translationEnabled == 1) {
          echo '<ul>' . $this->languageMenu() . '</ul>';
      }
  ?>

</div>
<div id="footer">
      Web development by Julien Leclercq
      <?php
        if (APPLICATION_ENV != 'production') {
        echo sprintf("&mdash; %.f secs to generate this page on <strong>%s</strong> environment.", microtime(true) - APP_TIME_START, APPLICATION_ENV);
        }
      ?>
</div>